package com.zgjkhis.modules.system.service;

import com.zgjkhis.common.service.BaseService;
import com.zgjkhis.domain.PageResult;
import com.zgjkhis.modules.system.domain.DrugCirculation;
import com.zgjkhis.modules.system.req.DrugCirculationReq;
import com.zgjkhis.modules.system.req.DrugCirculationToReq;
import com.zgjkhis.modules.system.resp.DrugCirculationDetailRes;
import org.springframework.data.domain.Pageable;

/**
 * @Author yzq
 * @Description 药品流转
 * @Date 2021/6/23 9:45
 * @Param
 * @return
 **/
public interface DrugCirculationService extends BaseService<DrugCirculation>{

    /**
     * @Author yzq
     * @Description 分页查询数据
     * @Date 2021/6/23 11:20
     * @Param [criteria, pageable]
     * @return java.util.Map<java.lang.String,java.lang.Object>
     **/
    PageResult<DrugCirculation> queryAll(DrugCirculationReq drugCirculationReq, Pageable pageable);

    /**
     * @Author yzq
     * @Description 查看药品流转使用情况
     * @Date 2021/6/23 11:20
     * @Param [criteria, pageable]
     * @return java.util.Map<java.lang.String,java.lang.Object>
     **/
    PageResult<DrugCirculationDetailRes> queryCirculationAll(DrugCirculationToReq drugCirculationToReq, Pageable pageable);
}
